package com.cn.rpcframe;

import com.cn.rpcframe.rpcproxy.RpcProxy;
import com.cn.rpcframe.service.HelloRpc;
import com.cn.rpcframe.service.ShowAnnotation;
import com.cn.rpcframe.service.impl.HelloProcServiceImpl;

/**
 * Hello world!
 *
 */
public class App 
{
	RpcProxy rpcProxy;
    public static  void main( String[] args )
    {
    	RpcProxy t = new RpcProxy();
    	HelloRpc  helloRpc =  t.create(HelloRpc.class);  
    	ShowAnnotation q = t.create(ShowAnnotation.class);
    	System.err.println(q.say("aaass"));
        System.err.println(helloRpc.hello("asdasd")); 
    }
}
